Repository navigation
feat(studio): publish and unpublish one page without a release - #14
Merged
Merged
Conversation
RFC-0035. A draft page's next step in the editor is Publish (through the same ApprovalDialog); the Pages list's row menu adds Publish (approval) and Unpublish, disabled with the reason for roles without pages.write; the site Publish dialog says how many pages it leaves out, with a link to them. MCP update_page takes an optional status, so an agent can publish one finished translation; the store's review and release checks still apply. Ported from unfinished work on the pre-public history onto the grouped translation list (PageRow now takes the pages.write gate and the row's status items). Locale catalogs regenerated with pnpm i18n:import. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <asker_17@msn.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
1 task done
Merged
Madraka
added a commit
that referenced
this pull request
Oct 20, 2026
feat(studio): publish and unpublish one page without a release
Madraka
added a commit
that referenced
this pull request
Oct 20, 2026
A cold Chrome on a busy GitHub runner took over 10 s and failed the render tests with "Chrome did not start" (seen on #14 and the contributor-setup workflow) while warm starts stay under a second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RFC-0035 (draft, in this PR): a page's own
statuscan be changed directly, like an article's.ApprovalDialog); "Send to review" moves into More actions (StatusActions directPublish). Articles keep draft → review → published.ApprovalDialog) and Unpublish (published → draft, no approval, as in the editor). Both are disabled with the reason when the role lackspages.write.update_pagetakes an optionalstatus. The store's checks still apply: a machine translation needing review or failing checks is refused, and pages held by a release stay locked. Changeset included.Porting notes
PagesPagenow usesPageRowand the grouped translation list, soPageRowtakes thepages.writegate and the row's status items. This also keepsPagesPageunder the 150-line function limit.pnpm i18n:import. Onlyen.tswas edited by hand.params.tscomes frompnpm gen.Test plan
size:check,design:lint,turbo run typecheck--concurrency=1). Studio 1121 tests and mcp-server 140 included. New:apps/studio/test/page-status.test.tsxand theupdate_pagestatus test intranslation-tools.test.ts.🤖 Generated with Claude Code